Removed $animation and backdropElement. now modalElement is appended to parentElement