Added remove function to subViews, added logic to modal view.
Added timedClose to modal view, also now when modal or alert gets closed they removed themselves from the parent view's subViews.