This is probably a stupid question, but in building a simple 2nd story square attached deck, does one install the exterior door before building the deck or after? We currently have a 4 ft window that will be expanded to hold a standard sliding door. Thanks!