auto layout up and modal presentation